package com.dao;

import java.util.List;

import com.entity.Detail;

public interface DetailMapper {
    int deleteByPrimaryKey(Integer did);

    int insert(Detail record);

    int insertSelective(Detail record);

    Detail selectByPrimaryKey(Integer did);

    int updateByPrimaryKeySelective(Detail record);

    int updateByPrimaryKey(Detail record);
    
    List<Detail> getById(String pid);
     
    Double getsum(String pid);
}